#include <QtGui/QApplication>
#include "mawindow.h"
#include "geometry/KSegProperties.h"


int main(int argc, char *argv[])
{
    //set some default properties
    KSegProperties::setPropertyDefault("Language", "");
    KSegProperties::setPropertyDefault("LanguageDir", ".");
    KSegProperties::setPropertyDefault("SelectType", "BorderSelect");
    KSegProperties::setPropertyDefault("QuickPlayDirectory", ".");
    KSegProperties::setPropertyDefault("RecentListSize", "4");
    KSegProperties::setPropertyDefault("BackgroundColor", "#ffffff");
    KSegProperties::setPropertyDefault("ForegroundColor", "#000000");
    KSegProperties::setPropertyDefault("ViewToolbarVisible", "true");
    KSegProperties::setPropertyDefault("NewToolbarVisible", "true");
    KSegProperties::setPropertyDefault("MeasureToolbarVisible", "true");
    KSegProperties::setPropertyDefault("TransformToolbarVisible", "true");
    QApplication a(argc, argv);
    MAWindow w;
    w.resize(800,600);
    w.show();

    return a.exec();
}
